
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/includes.jsp" %>

                        <!-- end div content -->
                        </div>

                    <!-- end span10 -->
                    </div>
                    <div class="span3 right-panel">
                        <c:choose>
                            <c:when test="${authenticated}">
                                <p><i class="icon-user icon-white"></i> <sec:authentication property="principal.username" /></p>
                                <p><i class="icon-bookmark icon-white"></i> <sec:authentication property="principal.authorities"/></p>
                                <hr />
                                <a class="pull-right myBtn" href="<c:url value="/j_spring_security_logout" />" >
                                    <i class="icon-white icon-off"></i> LOGOUT
                                </a>
                            </c:when>
                            <c:otherwise>
                                <a class="pull-right myBtn" href="login.html"><i class="icon-white icon-hand-right"></i> LOGIN</a>
                            </c:otherwise>
                        </c:choose>
                    </div>

                <!-- end row-fluid -->
                </div>
            <!-- end container-fluid -->
            </div>

        <!-- end web -->
        </div>
    </body>
</html>

